﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Runtime.Serialization;

namespace BankService.ServiceInterface {

    [DataContract]
    public class LogInOutput {

        private string sessionId;
        private string username;
        private string address;
        private int accountNumber;
        private double balance;
        private List<string> messages;

        [DataMember]
        public string SessionId {
            get { return this.sessionId; }
            set { this.sessionId = value; }
        }

        [DataMember]
        public string Username {
            get { return this.username; }
            set { this.username = value; }
        }

        [DataMember]
        public string Address {
            get { return this.address; }
            set { this.address = value; }
        }

        [DataMember]
        public int AccountNumber {
            get { return this.accountNumber; }
            set { this.accountNumber = value; }
        }

        [DataMember]
        public double Balance {
            get { return this.balance; }
            set { this.balance = value; }
        }

        [DataMember]
        public List<string> Messages {
            get { return this.messages; }
            set { this.messages = value; }
        }
    }
}
